From cosmic collisions to the death of the Sun, scientists outline multiple scenarios for Earth’s demise—though most agree humanity’s extinction, if it happens, is likely billions of years away.